package com.region.http.client.common;

/**
 * Common constants
 *
 * @author liujieyu
 * @date 2023/6/10 16:31
 * @desciption
 */
public class Constant {

    /**
     * Sort by minimum
     */
    public static final int MIN_ORDER = 1;

    /**
     * Sort by maximum
     */
    public static final int MAX_ORDER = Integer.MAX_VALUE;

    /**
     * default http request connection time
     */
    public static final int DEFAULT_CONNECTION_TIME = 10000;

    /**
     * default http request time
     */
    public static final int DEFAULT_REQUEST_TIME = 10000;

    /**
     * default request read time
     */
    public static final int DEFAULT_READ_TIME = 10000;

    /**
     * The prefix of http protocol
     */
    public static final String HTTP_PREFIX = "http://";

    /**
     * The prefix of https protocol
     */
    public static final String HTTPS_PREFIX = "https://";

}
